/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk.remote;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;

public abstract class b extends Binder implements a {
    public b() {
        attachInterface(this, "com.qihoo.psdk.remote.IQRemoteService");
    }

    public static a a(IBinder paramIBinder) {
        if (paramIBinder == null)
            return null;
        IInterface localIInterface = paramIBinder.queryLocalInterface("com.qihoo.psdk.remote.IQRemoteService");
        if ((localIInterface != null) && (localIInterface instanceof a))
            return ((a) localIInterface);
        return new c(paramIBinder);
    }

    public IBinder asBinder() {
        return this;
    }

    public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2) {
        String str1;
        String str2;
        String str4;
        switch (paramInt1) {
        case 1598968902:
            paramParcel2.writeString("com.qihoo.psdk.remote.IQRemoteService");
            return true;
        case 1:
            paramParcel1.enforceInterface("com.qihoo.psdk.remote.IQRemoteService");
            str1 = paramParcel1.readString();
            str2 = paramParcel1.readString();
            str4 = paramParcel1.readString();
            String str5 = paramParcel1.readString();
            boolean bool3 = a(str1, str2, str4, str5);
            paramParcel2.writeNoException();
            paramParcel2.writeInt((bool3) ? 1 : 0);
            return true;
        case 2:
            paramParcel1.enforceInterface("com.qihoo.psdk.remote.IQRemoteService");
            str1 = paramParcel1.readString();
            str2 = paramParcel1.readString();
            str4 = paramParcel1.readString();
            boolean bool2 = a(str1, str2, str4);
            paramParcel2.writeNoException();
            paramParcel2.writeInt((bool2) ? 1 : 0);
            return true;
        case 3:
            paramParcel1.enforceInterface("com.qihoo.psdk.remote.IQRemoteService");
            str1 = paramParcel1.readString();
            boolean bool1 = a(str1);
            paramParcel2.writeNoException();
            paramParcel2.writeInt((bool1) ? 1 : 0);
            return true;
        case 4:
            paramParcel1.enforceInterface("com.qihoo.psdk.remote.IQRemoteService");
            str1 = paramParcel1.readString();
            String str3 = b(str1);
            paramParcel2.writeNoException();
            paramParcel2.writeString(str3);
            return true;
        case 5:
            paramParcel1.enforceInterface("com.qihoo.psdk.remote.IQRemoteService");
            str1 = a();
            paramParcel2.writeNoException();
            paramParcel2.writeString(str1);
            return true;
        case 6:
            paramParcel1.enforceInterface("com.qihoo.psdk.remote.IQRemoteService");
            str1 = b();
            paramParcel2.writeNoException();
            paramParcel2.writeString(str1);
            return true;
        }
        return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
    }
}